using System.Collections;
using System.Collections.Generic;
using Unity.Entities;
using UnityEngine;

public class Move_Player : MonoBehaviour
{
    class Bakers : Baker<Move_Player>
    {
        public override void Bake(Move_Player authoring)
        {
            var entity = GetEntity(TransformUsageFlags.Dynamic);
            AddComponent(entity, new Entityes_Player()
            {
                moveSpeed = 10
            });
        }
    }
}
